import Vue from 'vue'

export const examPlan = {

  getConfig: params => {
    return Vue.prototype.$get('admissions/kdap/config', params)
  },
  setTime: params => {
    return Vue.prototype.$postJson('admissions/kdap/setTime', params)
  },
  setXn: params => {
    return Vue.prototype.$postJson('admissions/kdap/setXn', params)
  },
  page: params => {
    return Vue.prototype.$get('admissions/kdap/page', params)
  },
  delete: params => {
    return Vue.prototype.$post('admissions/kdap/delete/' + params,)
  },
  downloadTemplate: param => {
    return Vue.prototype.$export('admissions/kdap/downloadTemplate')
  },
}
